package com.uchengwang.functions.http.config;

import com.uchengwang.functions.http.listener.IHttpManager;

/**
 * Created by U城网 on 2017/6/13.
 * UU网络配置
 */

public interface UUConfig {

    /**
     * 获取聊天列表
     * */
    public interface GetTalks{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;
        IHttpManager.RequestMethod method_create = IHttpManager.RequestMethod.POST;
        String URL = "/uu/talk";
    }

    /**
     * 发布享说
     * */
    public interface Speek{
        IHttpManager.RequestMethod release_method = IHttpManager.RequestMethod.POST;//发布享说
        IHttpManager.RequestMethod get_method = IHttpManager.RequestMethod.GET;//获取享说
        IHttpManager.RequestMethod method_delete = IHttpManager.RequestMethod.DELETE;//删除享说
        String URL = "/uu/share";
    }

    /**
     * 获取某人的享说
     * */
    public interface SpeekPeople{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;
        String URL = "/uu/share/user";
    }

    /**
     * 获取享说点赞列表  点赞享说 取消享说
     * */
    public interface SpeekZan{
        IHttpManager.RequestMethod method_get = IHttpManager.RequestMethod.GET;
        IHttpManager.RequestMethod method_post = IHttpManager.RequestMethod.POST;
        IHttpManager.RequestMethod method_delete = IHttpManager.RequestMethod.DELETE;
        String URL = "/uu/share/like";
    }

    /**
     *收藏/取消 享说
     * */
    public interface SpeekCollect{
        IHttpManager.RequestMethod method_post = IHttpManager.RequestMethod.POST;
        IHttpManager.RequestMethod method_delete = IHttpManager.RequestMethod.DELETE;
        String URL = "/uu/share/collect";
    }

    /**
     * 获取享说评论 发评论 删除
     * */
    public interface SpeekCmt{
        IHttpManager.RequestMethod method_get = IHttpManager.RequestMethod.GET;
        IHttpManager.RequestMethod method_post = IHttpManager.RequestMethod.POST;
        IHttpManager.RequestMethod method_delete = IHttpManager.RequestMethod.DELETE;
        String URL = "/uu/share/cmt";
    }

    /**
     * 获取我的想说的已读/未读 评论点赞消息
     * */
    public interface SpeelNotice{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;
        String URL = "/uu/share/notice";
    }

    /**
     * 撤回一条享说
     * */
    public interface RecallSpeek{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.PUT;
        String URL = "/uu/share/recall";
    }


}
